/**
 * 
 */
package com.edooteach.entity.tecent;

/**
 * @author downpour
 *
 */
public class WebAuthConfig {
    
    private String id;
    
    private String callback;
    
    private String errorBack;
    
    /**
     * 
     * @param id
     * @param callback
     * @param errorBack
     */
    public WebAuthConfig(String id, String callback, String errorBack) {
        this.id = id;
        this.callback = callback;
        this.errorBack = errorBack;
    }
    
    /**
     * 
     * @param requestNo
     * @return
     */
    public String getState(String requestNo) {
        return com.demo2do.core.utils.StringUtils.connect(this.id, requestNo);
    }

    /**
     * @return the id
     */
    public String getId() {
        return this.id;
    }

    /**
     * @return the callback
     */
    public String getCallback() {
        return this.callback;
    }

    /**
     * @return the errorBack
     */
    public String getErrorBack() {
        return this.errorBack;
    }

    /**
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @param callback the callback to set
     */
    public void setCallback(String callback) {
        this.callback = callback;
    }

    /**
     * @param errorBack the errorBack to set
     */
    public void setErrorBack(String errorBack) {
        this.errorBack = errorBack;
    }
    
    

}
